package com.example.siyun.pojo;

import java.util.List;

public class TreeNodes {
    private int id;
    private String title;
    private List<TreeNodes> children;
    private boolean spread;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<TreeNodes> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNodes> children) {
        this.children = children;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }
}
